package com.hermes.biz.dao.item.impl;

import java.sql.SQLException;
import java.util.List;

import org.apache.log4j.Logger;
import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;

import com.hermes.biz.common.model.item.TagDO;
import com.hermes.biz.dao.item.TagsDAO;

public class TagsDAOImpl extends SqlMapClientDaoSupport implements TagsDAO{
	private Logger log = Logger.getLogger(TagsDAOImpl.class);
	public List<TagDO> getTagsList() {
		try {
			return this.getSqlMapClientTemplate().getSqlMapClient().queryForList("tagsDAO.tagsList");
		} catch (SQLException e) {			
			log.error(e);
		}
		return null;
	}

}
